/*****************************************************************************
STRICTLY CONFIDENTIAL (!)
COPYRIGHT BY MAX AND JAN PEJS

File:	Outputs.h
Date:	01.03.2015
Author:	Max Pejs
******************************************************************************/

#ifndef	HAL_H
#define HAL_H

#include "../typedef.h"
#include "../macro.h"
#include "../defines.h"
#include "../InSignal.h"
#include "../OutSignal.h"
#include "../Diagnostic.h"

class HAL
{
public:
	static UInt16 timerCnt;

	static void InitProject(void);
	static UInt16 ReadAccelSensor(void);
	static UInt16 ReadBrakeSensor(void);

	static void SetCarSpeedServo(UInt16 val);
	static void SetEngineServo(UInt16 val);
	static void SetFuelServo(UInt16 val);
	static void ProcessSerial();
};
#endif	// HAL_H

